﻿<div class="container">
    <div class="row clearfix">
        <div class="col-md-8 column">
            <form class="form-horizontal" role="form">                
                <div class="form-group">
                    <h2><label for="blogTitle" class="col-sm-2 label label-info">Title</label></h2>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" {{blogTitle}} />
                    </div>
                </div>
                <div class="form-group">
                    <h2><label for="blogContent" class="col-sm-2 label label-info">Content</label></h2>
                    <div class="col-sm-10">                                           
                        <textarea class="form-control input-lg" {{blogContent}}>
                        </textarea>
                    </div>
                </div>                
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <input type="button" class="btn btn-default" value="Post Blog" ng-click="postBlog()" />
                    </div>
                </div>
            </form>
        </div>
        <div class="col-md-4 column">
        </div>
    </div>
</div>